/*
 * AlignInternalFrame.java
 *
 * Created on 11.02.2010, 16:57:33
 */
package GUI.iFrames;

import DATA.iDataSetParts.SubstanceInfo;
import GUI.AlignPanel;
import GUI.iFrames.DataSourceComponents.DataSourcesInternalFrame;
import GUI.iFrames.HetmapFrameComponents.HeatmapInternalFrame;

/**
 *
 * @author Bunkowski
 */
public class AlignInternalFrame extends javax.swing.JInternalFrame {

	public static final long serialVersionUID = 1L;
	private AlignPanel substanceAlignPanel21;
	
    /** Creates new form AlignInternalFrame */
    public AlignInternalFrame(DataSourcesInternalFrame dataSourcesInternalFrame, SubstanceInfo substance, HeatmapInternalFrame heatmapInternalFrame) {

        initComponents();
        substanceAlignPanel21.setData(dataSourcesInternalFrame, substance, heatmapInternalFrame);
        setLayer(2);
    }

 
    private void initComponents() {

        substanceAlignPanel21 = new GUI.AlignPanel();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Align panel");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(substanceAlignPanel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(substanceAlignPanel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        pack();
    }
 
 
}
